home *** CD-ROM | disk | FTP | other *** search
- on resetSound whatLevel
- if the number of menus > 1 then
- set the checkMark of menuItem (8 - the soundLevel) of menu 2 to 0
- end if
- set the soundLevel to whatLevel
- if the number of menus > 1 then
- set the checkMark of menuItem (8 - the soundLevel) of menu 2 to 1
- end if
- end
-
- on REPORT outString
- global testData
- if objectp(testData) then
- testData(mWriteString, outString & RETURN)
- else
- put outString
- end if
- end
-
- on REPORT2 outString
- global testData
- if objectp(testData) then
- testData(mWriteString, outString & RETURN)
- else
- put outString
- end if
- end
-
- on gammaFade upOrDown, howFast
- global gCPU
- set speedCodes to [#slow: "18", #fast: "36", #instant: "100"]
- set mySpeed to getaProp(speedCodes, howFast)
- if voidp(mySpeed) then
- set mySpeed to getProp(speedCodes, #fast)
- end if
- if upOrDown = #down then
- if gCPU = #Mac then
- MonitorFade("down", mySpeed)
- else
- end if
- else
- updateStage()
- if gCPU = #Mac then
- MonitorFade("up", mySpeed)
- else
- end if
- end if
- end
-
- on setColor howManybits
- set the colorDepth to howManybits
- if the colorDepth <> howManybits then
- else
- put "OK, we did it.."
- end if
- end
-
- on suspendSounds
- exit
- end
-